export type TimeRecord = 'created_at'|'updated_at'
export interface IUserModel {
    id:number
    nickname:string
    name:string
    gender:number 
}
export interface IUserActor {
    id:number
    role:number
    club?:IClubModel
    user:IUserModel
}
export interface IAssetsModel {
    id:number
    name:string
    mime:string
    path:string
    created_at:string
    updated_at:string
}
export interface IClubPageModel {
    id:number
    title:string
    content?:{
        html:string,
        json:any,
        type:"html"|"json"
    },
    content_text:string
    club?:IClubModel
}
export interface IClubModel {
    id:number
    name:string
    introduction?:string
    location?:string
    address?:string
    primary_color:string
    created_at:string
    updated_at:string
    favicon?:IAssetsModel
    cover_image?:IAssetsModel[]
    leaders:IUserActor[]
    page?:IClubPageModel
    
}
export interface IClubFormModel {
    id:number
    title:string
    type:number
    description?:string
    created_at:string
    updated_at:string
}
export interface IApplicationStatusModel {
    id:number
    title:string
    type:number
    priamry_color:string
    children?:IApplicationStatusModel[]|null
}
export interface IApplicationModel {
    id:number
    user:IUserModel
    updated_at:string
    created_at:string
    form:IClubFormModel
    status:IApplicationStatusModel
}